using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Widget;
using Android.Graphics;
using Android.Views;

namespace NewsteadApp_Android.Resources.Activities
{

    [Activity(Label = "AdminLogin")]
    public class AdminLogin : Activity
    {

       // protected Button btnBack = null;
        protected Button btnSignInMn = null;


        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetTheme(Android.Resource.Style.ThemeLightNoTitleBarFullScreen);

            View titleView = Window.FindViewById(Android.Resource.Id.Title);
            if (titleView != null)
            {
                IViewParent parent = titleView.Parent;
                if (parent != null && (parent is View))
                {
                    View parentView = (View)parent;
                    parentView.SetBackgroundColor(Color.Rgb(0x26, 0x75, 0xFF)); //38, 117 ,255
                }
            }

            


            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.AdminLogin);

            btnSignInMn = FindViewById<Button>(Resource.Id.btnSignInMn);

            // Create your application here
            ImageButton btnBack = FindViewById<ImageButton>(Resource.Id.btnBack);

            btnBack.Click += (sender, e) =>
            {
                StartActivity(typeof(MainActivity));
            };
        }

    }
}